/**
 * Handle hide window.
 *
 * @param {JSEvent} [event] the event that triggered the action
 *
 * @returns {Boolean}
 *
 * @properties={typeid:24,uuid:"0F1AF0DA-A744-4D3F-8121-F6C7105A723A"}
 */
function salir(event) 
{
	var $win = application.getWindow('ver_contac');
	$win.hide()
	$win.destroy()
	return true
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"6D745517-C12D-4DEE-B05D-3CEB30A17AF1"}
 */
function confirmar(event) 
{
	salir();
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"53E40ED6-2CEF-431A-AD12-47FB3E1D2BDE"}
 */
function cancelar(event) 
{
	databaseManager.revertEditedRecords()
	salir();
}
